﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HotelProject
{
    [Serializable]
    public class HotelSearchQuery
    {
        
        public DateTime checkInDate { get; set; }
        public DateTime checkOutDate { get; set; }
        public int hotelID { get; set; }
        public string view { get; set; }
        public string bedSize { get; set; }
        public int floorNumber{ get; set; }
        public int minPrice{ get; set; }
        public int maxPrice{ get; set; }
        public int roomID{ get; set; }
        public int roomNumber{ get; set; }
        public int numberOfDays { get { return (checkOutDate - checkInDate).Days; } }
    }
}